package com.ruoyi.common.core.domain.entity;

import com.ruoyi.common.core.domain.SignLogVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签章日志对象 sign_log
 * 
 * @author ess
 * @date 2021-10-28
 */
public class SignLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 日志id */
    private String signLogId;

    /** 签署人 */
    @Excel(name = "签署人")
    private String signUserId;

    /** 签章时间 */
    @Excel(name = "签章时间")
    private String signTime;

    /** 签署电脑ip */
    @Excel(name = "签署电脑ip")
    private String ip;

    /** 印章 */
    @Excel(name = "印章")
    private String sealId;

    /** 印章类型 */
    @Excel(name = "印章类型")
    private String sealType;

    /** 单位 */
    @Excel(name = "单位")
    private String unitId;

    /** 部门id */
    private String depId;

    /** 终端类型 */
    @Excel(name = "终端类型")
    private String terminalType;

    /** 文书内容 */
    @Excel(name = "文书内容")
    private String docContent;

    /** 文书Id */
    @Excel(name = "文书Id")
    private String docId;

    /** 所签文书类型  */
    @Excel(name = "所签文书类型 ")
    private String docType;

    /** 所签产品类型 */
    @Excel(name = "所签产品类型")
    private String productType;

    /** 防篡改hash */
    private String safeHash;

    /** mac地址 */
    @Excel(name = "mac地址")
    private String mac;

    /** 设备ID */
    private String deviceId;

    /** 业务系统 */
    @Excel(name = "业务系统")
    private String businessSysId;

    /** 签章序号 */
    @Excel(name = "签章序号")
    private String serialNumber;

    /** 签章结果 */
    @Excel(name = "签章结果")
    private Integer signResult;

    /** 签章失败原因 */
    @Excel(name = "签章失败原因")
    private String errorContent;

    /** 签章附加日志 */
    private String addLog;

    private SignLogVo signLogVo;

    private String signUserName;

    public SignLog() {
    }

    public void setSignLogId(String signLogId)
    {
        this.signLogId = signLogId;
    }

    public String getSignLogId() 
    {
        return signLogId;
    }
    public void setSignUserId(String signUserId) 
    {
        this.signUserId = signUserId;
    }

    public String getSignUserId() 
    {
        return signUserId;
    }
    public void setSignTime(String signTime) 
    {
        this.signTime = signTime;
    }

    public String getSignTime() 
    {
        return signTime;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setSealId(String sealId) 
    {
        this.sealId = sealId;
    }

    public String getSealId() 
    {
        return sealId;
    }
    public void setSealType(String sealType) 
    {
        this.sealType = sealType;
    }

    public String getSealType() 
    {
        return sealType;
    }
    public void setUnitId(String unitId) 
    {
        this.unitId = unitId;
    }

    public String getUnitId() 
    {
        return unitId;
    }
    public void setDepId(String depId) 
    {
        this.depId = depId;
    }

    public String getDepId() 
    {
        return depId;
    }
    public void setTerminalType(String terminalType) 
    {
        this.terminalType = terminalType;
    }

    public String getTerminalType() 
    {
        return terminalType;
    }
    public void setDocContent(String docContent) 
    {
        this.docContent = docContent;
    }

    public String getDocContent() 
    {
        return docContent;
    }
    public void setDocId(String docId) 
    {
        this.docId = docId;
    }

    public String getDocId() 
    {
        return docId;
    }
    public void setDocType(String docType) 
    {
        this.docType = docType;
    }

    public String getDocType() 
    {
        return docType;
    }
    public void setProductType(String productType) 
    {
        this.productType = productType;
    }

    public String getProductType() 
    {
        return productType;
    }
    public void setSafeHash(String safeHash) 
    {
        this.safeHash = safeHash;
    }

    public String getSafeHash() 
    {
        return safeHash;
    }
    public void setMac(String mac) 
    {
        this.mac = mac;
    }

    public String getMac() 
    {
        return mac;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setBusinessSysId(String businessSysId) 
    {
        this.businessSysId = businessSysId;
    }

    public String getBusinessSysId() 
    {
        return businessSysId;
    }
    public void setSerialNumber(String serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public String getSerialNumber() 
    {
        return serialNumber;
    }
    public void setSignResult(Integer signResult) 
    {
        this.signResult = signResult;
    }

    public Integer getSignResult() 
    {
        return signResult;
    }
    public void setErrorContent(String errorContent) 
    {
        this.errorContent = errorContent;
    }

    public String getErrorContent() 
    {
        return errorContent;
    }
    public void setAddLog(String addLog) 
    {
        this.addLog = addLog;
    }

    public String getAddLog() 
    {
        return addLog;
    }

    public SignLogVo getSignLogVo() {
        return signLogVo;
    }

    public void setSignLogVo(SignLogVo signLogVo) {
        this.signLogVo = signLogVo;
    }

    public String getSignUserName() {
        return signUserName;
    }

    public void setSignUserName(String signUserName) {
        this.signUserName = signUserName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("signLogId", getSignLogId())
            .append("signUserId", getSignUserId())
            .append("signTime", getSignTime())
            .append("ip", getIp())
            .append("sealId", getSealId())
            .append("sealType", getSealType())
            .append("unitId", getUnitId())
            .append("depId", getDepId())
            .append("terminalType", getTerminalType())
            .append("docContent", getDocContent())
            .append("docId", getDocId())
            .append("docType", getDocType())
            .append("productType", getProductType())
            .append("safeHash", getSafeHash())
            .append("mac", getMac())
            .append("deviceId", getDeviceId())
            .append("businessSysId", getBusinessSysId())
            .append("serialNumber", getSerialNumber())
            .append("signResult", getSignResult())
            .append("errorContent", getErrorContent())
            .append("addLog", getAddLog())
            .toString();
    }
}
